/**
 * Created by huhai on 17/9/25.
 */
import React from 'react';
import ReactDOM from 'react-dom';
import { Router, Route } from 'react-router-dom';
import { Provider } from 'react-redux'
import RouterChoose from './routes'
import store from './store'
// require('./common/css/default.less')

import createBrowserHistory from 'history/createBrowserHistory'
const customHistory = createBrowserHistory()


ReactDOM.render(
  <Provider store={store}>
    <Router history={customHistory}>
      <div className="atv">
        <Route path="/" component={RouterChoose}></Route>
      </div>
    </Router>
  </Provider>,
  document.getElementById('app')
);
